package com.atguigu.eduservice.client.fallback;

import com.atguigu.eduservice.client.OrdersClient;
import org.springframework.stereotype.Component;

/**
 * @author 阿卓
 * @version 1.0
 * @date 2021/2/22 0022 8:57
 */
@Component
public class OrdersFileDegradeFeignClient implements OrdersClient {


    //出错之后会执行


    @Override
    public boolean isBoughtCourse(String courseId, String memberId) {
        return false;
    }


}

